import { config, parseParams } from '../../utils'
import request from '../../utils/request';

//根据栏目的内容获取对应的配置
export function getColumnConfig({ id }) {
  if(true){
    return request('http://localhost:63343/configcreate/json/colmunsConfig.json');
  } else {
    var tmpData = request(config.CONFIGURE + '/pageConfigure/getPageConfigure?id=' + id, {
      credentials: 'include',
      mode: 'no-cors',
    });
    return tmpData;
  }
}
